Mybatis动态SQL配置
使用 if where foreach标签对映射配置文件中sql语句进行动态配置 1、首先在dao接口中设置两个查询方法 2、配置映射配置文件(使用if where foreach三 ...
使用 if where foreach标签对映射配置文件中sql语句进行动态配置 1、首先在dao接口中设置两个查询方法 2、配置映射配置文件(使用if where foreach三 ...